﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace mrp16062010.Uretec
{
    [Serializable()]
    class SaatTanim : ISerializable
    {
        public int Saat { get; set; }
        public int Dakika { get; set; }
        public SaatTanim(int saat, int dakika)
        {
            Saat = saat;
            Dakika = dakika;
        }

        public SaatTanim (SerializationInfo info, StreamingContext ctxt)
        {
            Serialize.InfoCopier.Read(info, this);
        }

        public void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            Serialize.InfoCopier.Write(info, this);
        }
    }
}
